<template>
  <div class="box">
    <div class="home">
      I'm home text
      <el-button @click="handleGetData">
        我是el按钮
      </el-button>
      <el-input v-model="a" />
    </div>
  </div>
</template>
<script setup>
import { Http } from '@/utils/request'

// eslint-disable-next-line no-undef
const a = ref('lizj')

const handleGetData = async() => {
  const result = await Http.get('http://121.36.81.61:8000/getTenArticleList')
  console.log('====>', result)
}

</script>

<style scoped lang="scss">
.box {
  .home {
    color: red;
  }
}
</style>
